//
// Created by whg on 2025-06-01.
//

#ifndef PYVM_2025_PY_LIST_HPP
#define PYVM_2025_PY_LIST_HPP

#include "pyObject.hpp"
#include "util/arrayList.hpp"

class PyList: public PyObject{
private:
    ArrayList<PyObject*>* _values;

public:
    PyList();

    PyObject* get(int index);
    void append(PyObject* o);
    void set(int index, PyObject* o);
    int length();
};


#endif //PYVM_2025_PY_LIST_HPP
